General
A1 speed test
Home infrastructure
A1 Scholzgasse wifi
A1 Scholzgasse NAS
Infrastructure
Create junction ("mirror" of windows directory)
MKLINK /J LINK TARGET where TARGET is the original directory, LINK is the "mirror"
Update nextcloud
Nextcloud changelog
Nextcloud documentation
Backup nextcloud
- turn on maintenance mode via occ
- connecting from (W10-)SSH: ssh saschik@saschik.com
- using cpanel saschik pw
- php public_html/91b7xxx/occ maintenance:mode --on
- create archive of nextcloud data folder
- log in to webhosting pad -> file manager
- right-click data directory KaOsxxx
- Add to archive - or Compress and Download
- back up archive
- use fileZilla to download KaOsxxx.tar.gz
- delete archive on server
- create archive and back up folders
- in nextcloud instance directory 91b7xxx, create archive of config and themes folder - or Compress and Download
- use fileZilla to download config.tar.gz and themes.tar.gz
- delete archive on server
- back up database
- go to phpMyAdmin via webhostingpad dashboard (extra features)
- select database (left side menu)
- click export (top menu)
- export method custom, check settings - or method Quick
- go (backup will be stored to local download folder)
- zip and rename to xxxx.sql.zip
- turn off maintenance mode via occ
- php public_html/91b7xxx/occ maintenance:mode --off
Restore nextcloud backup
HowTo restore DB with phpMyAdmin step by step
Known problem solutions:
Change/move nextcloud data directory
Nextcloud help community HowTo
"Update stuck on step 5"
saschik.com/public_html/KaOsMbo8ZD/data/updater-..../.step
{"state":"start","step":5} -> {"state":"end","step":5}
"PHP memory limit not recommended 512MB" (nextcloud admin installation overview error)
saschik.com/public_html/91b7xxxx/.htaccess
at end add
php_value memory_limit 512M
AND/OR
webhosting pad dashboard > Account Manager/PHP settings > Add New Override
Setting (select memory_limit, change value to 512) Add
SAVE
SSH connect to whp-nextcloud
Resetting a lost admin pw
Using the occ command
SSH mit W10 benützen
Basic SSH commands
Run php script through SSH
connecting from (W10-)SSH: ssh saschik@saschik.com
using cpanel saschik pw
reset admin pw:
php public_html/91b7b02a84/occ user:resetpassword admin
switch to maintenance mode:
php public_html/91b7b02a84/occ maintenance:mode --on